package tech.ezrealc.fall2023.model.affair.major.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import tech.ezrealc.fall2023.model.affair.major.MajorDO;
import tech.ezrealc.fall2023.model.affair.major.MajorDTO;
import tech.ezrealc.fall2023.model.affair.major.MajorVO;

import java.util.List;

@Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
public interface MajorMapper {

    List<MajorDTO> toDTOList(List<MajorDO> majorDOList);

    List<MajorVO> toVOList(List<MajorDTO> majorDTOList);

}
